package com.eascs.banknet.common.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "o2o_rpplan_loop")
public class RpplanLoopEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	private String actno; // 贷款账号

	private int term; // 期数

	private String payday;// 应还款日

	private int daycount;// 计息天数

	private BigDecimal payperterm;// 每期应还款

	private BigDecimal capital;// 本金

	private BigDecimal interest;// 利息

	private BigDecimal balance;// 贷款余额

	private String rpplanno;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getActno() {
		return actno;
	}

	public void setActno(String actno) {
		this.actno = actno;
	}

	public int getTerm() {
		return term;
	}

	public void setTerm(int term) {
		this.term = term;
	}

	public String getPayday() {
		return payday;
	}

	public void setPayday(String payday) {
		this.payday = payday;
	}

	public int getDaycount() {
		return daycount;
	}

	public void setDaycount(int daycount) {
		this.daycount = daycount;
	}

	public BigDecimal getPayperterm() {
		return payperterm;
	}

	public void setPayperterm(BigDecimal payperterm) {
		this.payperterm = payperterm;
	}

	public BigDecimal getCapital() {
		return capital;
	}

	public void setCapital(BigDecimal capital) {
		this.capital = capital;
	}

	public BigDecimal getInterest() {
		return interest;
	}

	public void setInterest(BigDecimal interest) {
		this.interest = interest;
	}

	public BigDecimal getBalance() {
		return balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

	public String getRpplanno() {
		return rpplanno;
	}

	public void setRpplanno(String rpplanno) {
		this.rpplanno = rpplanno;
	}

	@Override
	public String toString() {
		return "RpplanLoopEntity [id=" + id + ", actno=" + actno + ", term=" + term + ", payday=" + payday
				+ ", daycount=" + daycount + ", payperterm=" + payperterm + ", capital=" + capital + ", interest="
				+ interest + ", balance=" + balance + ", rpplanno=" + rpplanno + "]";
	}
}
